package com.entfrm.biz.it.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.entfrm.core.base.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.entfrm.core.data.entity.BaseEntity;
import java.util.Date;
import java.util.List;

/**
 * @author kyc
 * @date 2020-08-07 17:56:35
 *
 * @description 资产信息对象 Property
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("it_property")
public class Property extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    @TableId
    private Integer id;

    /** 凯翼编号 */
    @Excel(name = "凯翼编号")
    private String cowinNum;

    /** 股份编号 */
    @Excel(name = "股份编号")
    private String cheryNum;

    /** SAP编号 */
    @Excel(name = "SAP编号")
    private String sapNum;

    /** 购入时间 */
    @Excel(name = "购入时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date buyTime;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String name;

    /** 资产分类id */
    @Excel(name = "资产分类id")
    private Integer categoryId;

    @Excel(name = "资产分类ids")
    private String categoryIds;

    @TableField(exist = false)
    private String categoryName;

    /** 资产配置 */
    @Excel(name = "资产配置")
    private String config;

    /** 资产品牌 */
    @Excel(name = "资产品牌")
    private String brand;

    /** 资产型号 */
    @Excel(name = "资产型号")
    private String modelNum;

    /** 所属位置 */
    @Excel(name = "所属位置")
    private String location;

    /** 资产描述 */
    @Excel(name = "资产描述")
    private String info;

    /** 资产状态 */
    @Excel(name = "资产状态")
    private String status;


}
